package com.itheima.date;

import java.text.SimpleDateFormat;
import java.util.Date;

public class Demo03 {

    public static void main(String[] args) {
        Date date = new Date();
        System.out.println(date);

      /*  SimpleDateFormat sdf = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss");
        String s = sdf.format(date);
        System.out.println(s);*/
        SimpleDateFormat sdf = new SimpleDateFormat("yyyy年MM月dd日 HH时mm分ss秒");
        String s = sdf.format(date);
        System.out.println(s);
    }
}
